#include<stdio.h>
void squeeze(char [],char []);
int main()  /* eliminating common characters from s1 */  
{
  char s1[30],s2[30];
  printf("enter a string");
  gets(s1);
  printf("\nenter another string");
  gets(s2);
  printf("\nEdited string :");
  squeeze(s1,s2);
  return 0;
}
 
void squeeze(char s1[],char s2[])
{
  char s3[30];
  int i=0,j=0,k=0;
  while(s1[i]!='\0')
      {
       for(j=0;s2[j]!='\0';j++)
        {
          if(s1[i]==s2[j])
            {
              i++;
              break;
            }
        }
      
        if(s2[j]=='\0')
          {
             s3[k++]=s1[i++];  
          }
    
      }
puts(s3);
}      
        
  
 
